<html lang="zh-CN">
<p id='p'>hello world</p>

<script>
        function test(msg){
            document.getElementById("p").innerHTML += " 你好！" + msg
        }

        function getValue(){
            var faceId = justAndroid.getFaceId()
            document.getElementById("p").innerHTML += faceId
        }

        function clickprompt(){
            var result = prompt("js://webview");
            document.getElementById("p").innerHTML += result
            alert("webview " + result);
        }

</script>

<button onclick="getValue()">调用安卓方法</button>

<button onclick="clickprompt()">点击调用Android代码(prompt)</button>

</html>